package lianbiao;


import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 系统编码表，并发量高，读写表
 * </p>
 *
 * @author zt
 * @since 2018-08-13
 */
public class GeneralCode  {


    /**
     * 主键ID
     */
    private String codeId;

    /**
     * 编码名称
     */
    private String codeName;

    private String codeValue;

    /**
     * 排序号
     */
    private Integer sortNo;

    private String codeType;

    /**
     * 创建者
     */
    private String createUser;

    /**
     * 创建时间
     */
    private Date createTime;

    private String createName;

    /**
     * 最后修改者
     */
    private String updateUser;

    /**
     * 最后修改时间
     */
    private Date updateTime;

    private String updateName;

    private String proId;

    private String orgId;

    private String tenantId;

    private byte isDelete;

    /**
     * 0不是是系统编码            1是系统编码            系统编码不允许进行修改
     */
    private byte isEdit;
    private Date vaildStartTime;
    private Date vaildEndTime;

    private String parentId;

    private String treePath;

    private String treeNamePath;

    private byte levelNo;

    private byte isLeaf;

    /**
     * 拼音码
     */
    private String letterCode;

    private String codeKeyword;

    private GeneralCode generalCodeLis;

    public String getCodeId() {
        return codeId;
    }

    public void setCodeId(String codeId) {
        this.codeId = codeId;
    }
    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }
    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }
    public Integer getSortNo() {
        return sortNo;
    }

    public void setSortNo(Integer sortNo) {
        this.sortNo = sortNo;
    }
    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }
    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
    public String getCreateName() {
        return createName;
    }

    public void setCreateName(String createName) {
        this.createName = createName;
    }
    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public String getUpdateName() {
        return updateName;
    }

    public void setUpdateName(String updateName) {
        this.updateName = updateName;
    }
    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }
    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }
    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }
    public byte getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(byte isDelete) {
        this.isDelete = isDelete;
    }
    public byte getIsEdit() {
        return isEdit;
    }

    public void setIsEdit(byte isEdit) {
        this.isEdit = isEdit;
    }
    public Date getVaildStartTime() {
        return vaildStartTime;
    }

    public void setVaildStartTime(Date vaildStartTime) {
        this.vaildStartTime = vaildStartTime;
    }
    public Date getVaildEndTime() {
        return vaildEndTime;
    }

    public void setVaildEndTime(Date vaildEndTime) {
        this.vaildEndTime = vaildEndTime;
    }
    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }
    public String getTreePath() {
        return treePath;
    }

    public void setTreePath(String treePath) {
        this.treePath = treePath;
    }
    public String getTreeNamePath() {
        return treeNamePath;
    }

    public void setTreeNamePath(String treeNamePath) {
        this.treeNamePath = treeNamePath;
    }
    public byte getLevelNo() {
        return levelNo;
    }

    public void setLevelNo(byte levelNo) {
        this.levelNo = levelNo;
    }
    public byte getIsLeaf() {
        return isLeaf;
    }

    public void setIsLeaf(byte isLeaf) {
        this.isLeaf = isLeaf;
    }
    public String getLetterCode() {
        return letterCode;
    }

    public void setLetterCode(String letterCode) {
        this.letterCode = letterCode;
    }
    public String getCodeKeyword() {
        return codeKeyword;
    }

    public void setCodeKeyword(String codeKeyword) {
        this.codeKeyword = codeKeyword;
    }

    public GeneralCode getGeneralCodeLis() {
        return generalCodeLis;
    }

    public void setGeneralCodeLis(GeneralCode generalCodeLis) {
        this.generalCodeLis = generalCodeLis;
    }
    protected Serializable pkVal() {
        return this.codeId;
    }

    @Override
    public String toString() {
        return "GeneralCode{" +
                "codeId='" + codeId + '\'' +
                ", codeName='" + codeName + '\'' +
                ", codeValue='" + codeValue + '\'' +
                ", sortNo=" + sortNo +
                ", codeType='" + codeType + '\'' +
                ", createUser='" + createUser + '\'' +
                ", createTime=" + createTime +
                ", createName='" + createName + '\'' +
                ", updateUser='" + updateUser + '\'' +
                ", updateTime=" + updateTime +
                ", updateName='" + updateName + '\'' +
                ", proId='" + proId + '\'' +
                ", orgId='" + orgId + '\'' +
                ", tenantId='" + tenantId + '\'' +
                ", isDelete=" + isDelete +
                ", isEdit=" + isEdit +
                ", vaildStartTime=" + vaildStartTime +
                ", vaildEndTime=" + vaildEndTime +
                ", parentId='" + parentId + '\'' +
                ", treePath='" + treePath + '\'' +
                ", treeNamePath='" + treeNamePath + '\'' +
                ", levelNo=" + levelNo +
                ", isLeaf=" + isLeaf +
                ", letterCode='" + letterCode + '\'' +
                ", codeKeyword='" + codeKeyword + '\'' +
                ", generalCodeLis=" + generalCodeLis +
                '}';
    }
}
